package com.literature.search.core.common;

/**
 * @Author: DangKong
 * @Date: 2023/3/23 09:18
 * @Description: Es索引字段常量
 */

public class EsIndexConstant {

    public static final String CN_INDEX_NAME = "document_cn";

    public static final String EN_INDEX_NAME = "document_en";

    public static final String HISTORY_KEYWORDS_INDEX_NAME = "history_keywords";

    //id
    public static final String ID = "id";

    public static final String USER_ID = "userId";

    //文件名
    public static final String FILE_NAME = "fileName";

    //首页缩略图ID
    public static final String THUMB_ID = "thumbId";

    //上传时间
    public static final String UPLOAD_DATE = "uploadDate";

    //uploadUser
    public static final String UPLOAD_USER = "uploadUser";

    //点赞数
    public static final String LIKE = "like";

    //下载数
    public static final String DOWNLOAD = "download";

    //收藏数
    public static final String COLLECT = "collect";

    //浏览数
    public static final String VIEW = "view";

    //每页文本内容嵌套类型pageContents
    public static final String PAGE_CONTENTS = "pageContents";

    //每页文本内容嵌套类型picContents
    public static final String PIC_CONTENTS = "picContents";

    //isEnglish
    public static final String IS_ENGLISH = "isEnglish";

    //所在页码
    public static final String PAGE_NUMBER = "pageNumber";

    //页面内容
    public static final String CONTENT = "content";

    //标签
    public static final String TAG = "tag";

    //pageContents.content
    public static final String PAGE_CONTENTS_CONTENT = "pageContents.content";

    //picContents.content
    public static final String PIC_CONTENTS_CONTENT = "picContents.content";

    public static final String KEYWORD = "keyword";

    public static final String TOPN = "topN";





}
